package cn.itcast.wanxinp2p.consumer;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


/**
 * 主要工程类
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"cn.itcast.wanxinp2p.consumer.agent"})
@ComponentScan({"cn.itcast.wanxinp2p.consumer","org.dromara.hmily"})
public class ConsumerApp{
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApp.class, args);
    }

}